#include <stdio.h>
#include <conio.h>
#include <math.h>

using namespace std;

int main()
{
 const float eps=1.0e-6;
 float a,b,c,x;
 a=b=c=x=0.0;
 
 scanf("%f %f %f",&a,&b,&c);
 
 x=c;
 if(fabs(x)<eps) printf("c=0!!!\n");
 else 
 {
     x=1.0/(b+1.0/c);
     if(fabs(x)<eps) printf("1/(b+1/c)=0!!!\n");
     else 
     {
         x=1.0/(a+1.0/(b+1.0/c));
         if(fabs(x)<eps) printf("(a+1/(b+1/c)=0!!!\n");
         else 
         {
             x=1.0/(a+(1.0/(b+(1.0/c))));
             printf("x=%f",x);
         }
     }
 }
 getche();
 return 0; 
}
